$('.user-orders, .cms.orders').livequery(function() {
	$('.orders-list .order').on('mouseenter mouseleave click mousedown', function(e) {
		var item = $(this);
		if(!item.hasClass('active')) {
			if(e.type == 'click') {
				var addInf = item.children('.additional-info');
				addInf.slideDown(100, function(){$('.additional-info').clearQueue(); item.addClass('active')});
			}
			if(e.type == 'mouseenter') $(this).addClass('hover');
		}
		else if(e.type == 'click') {
			var addInf = item.children('.additional-info');
			addInf.slideUp(100, function(){$('.additional-info').clearQueue(); item.removeClass('active')});
		}
		if(e.type == 'mouseleave') $(this).removeClass('hover');
		
		return false;
	});
});
